﻿{%- if HasDescription -%}
/** {{ Description }} */
{%- endif -%}
{% if ExportTypes %}export {% endif %}interface {{ ClassName }}{{ Inheritance }} {
{%- for property in Properties -%}
{%-     if property.HasDescription -%}
    /** {{ property.Description }} */
{%-     endif -%}
    {% if property.IsReadOnly %}readonly {% endif %}{{ property.InterfaceName }}{% if property.IsOptional %}?{% endif %}: {{ property.Type }}{{ property.TypePostfix }};
{%- endfor -%}
{%- if HasIndexerProperty -%}

    [key: string]: {{ IndexerPropertyValueType }};
{%- endif -%}
}